<T:ViewBase x:Class="WPFExcelReport.TMGBST02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGSA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGSA}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGMAT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGMAT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGVAR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGVAR}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGLO:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGLO}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGMJJ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGMJJ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGMM:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGMM}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGAKTKZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGAKTKZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGME01:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGME01}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGME10:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGME10}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=MGME11:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwMGBST.MGME11}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsMGBST,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwMGBST}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwMGBST, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="MGMANDANT"
                                    Binding="{Binding Path=MGMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGSA"
                                    Binding="{Binding Path=MGSA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGSA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMAT"
                                    Binding="{Binding Path=MGMAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGVAR"
                                    Binding="{Binding Path=MGVAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGVAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGLO"
                                    Binding="{Binding Path=MGLO, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGLO}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMJJ"
                                    Binding="{Binding Path=MGMJJ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMJJ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMM"
                                    Binding="{Binding Path=MGMM, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMM}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGAKTKZ"
                                    Binding="{Binding Path=MGAKTKZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGAKTKZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME01"
                                    Binding="{Binding Path=MGME01, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME01}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME10"
                                    Binding="{Binding Path=MGME10, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME10}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME11"
                                    Binding="{Binding Path=MGME11, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME11}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME12"
                                    Binding="{Binding Path=MGME12, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME12}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME13"
                                    Binding="{Binding Path=MGME13, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME13}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME19"
                                    Binding="{Binding Path=MGME19, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME19}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME20"
                                    Binding="{Binding Path=MGME20, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME20}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME21"
                                    Binding="{Binding Path=MGME21, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME21}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME31"
                                    Binding="{Binding Path=MGME31, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME31}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME32"
                                    Binding="{Binding Path=MGME32, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME32}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME33"
                                    Binding="{Binding Path=MGME33, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME33}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME34"
                                    Binding="{Binding Path=MGME34, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME34}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME35"
                                    Binding="{Binding Path=MGME35, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME35}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME36"
                                    Binding="{Binding Path=MGME36, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME36}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME42"
                                    Binding="{Binding Path=MGME42, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME42}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME43"
                                    Binding="{Binding Path=MGME43, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME43}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME46"
                                    Binding="{Binding Path=MGME46, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME46}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME47"
                                    Binding="{Binding Path=MGME47, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME47}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME52"
                                    Binding="{Binding Path=MGME52, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME52}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME53"
                                    Binding="{Binding Path=MGME53, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME53}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME55"
                                    Binding="{Binding Path=MGME55, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME55}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME56"
                                    Binding="{Binding Path=MGME56, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME56}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMEIV"
                                    Binding="{Binding Path=MGMEIV, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMEIV}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME76"
                                    Binding="{Binding Path=MGME76, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME76}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME79"
                                    Binding="{Binding Path=MGME79, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME79}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME80"
                                    Binding="{Binding Path=MGME80, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME80}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME88"
                                    Binding="{Binding Path=MGME88, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME88}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME89"
                                    Binding="{Binding Path=MGME89, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME89}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME90"
                                    Binding="{Binding Path=MGME90, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME90}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME91"
                                    Binding="{Binding Path=MGME91, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME91}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGME24"
                                    Binding="{Binding Path=MGME24, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGME24}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTKMA"
                                    Binding="{Binding Path=MGBSTKMA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTKMA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTKME"
                                    Binding="{Binding Path=MGBSTKME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTKME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTVMA"
                                    Binding="{Binding Path=MGBSTVMA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTVMA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTVME"
                                    Binding="{Binding Path=MGBSTVME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTVME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTA"
                                    Binding="{Binding Path=MGBSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTAN"
                                    Binding="{Binding Path=MGBSTAN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTAN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTMA"
                                    Binding="{Binding Path=MGBSTMA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTMA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGBSTME"
                                    Binding="{Binding Path=MGBSTME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGBSTME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGINDAT"
                                    Binding="{Binding Path=MGINDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGINDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGINBST"
                                    Binding="{Binding Path=MGINBST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGINBST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGINALT"
                                    Binding="{Binding Path=MGINALT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGINALT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGEKPRMA"
                                    Binding="{Binding Path=MGEKPRMA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGEKPRMA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGEKPRME"
                                    Binding="{Binding Path=MGEKPRME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGEKPRME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGEKPRZU"
                                    Binding="{Binding Path=MGEKPRZU, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGEKPRZU}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGVRPR"
                                    Binding="{Binding Path=MGVRPR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGVRPR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGDLABST"
                                    Binding="{Binding Path=MGDLABST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGDLABST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGDLATAG"
                                    Binding="{Binding Path=MGDLATAG, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGDLATAG}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMINBST"
                                    Binding="{Binding Path=MGMINBST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMINBST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGMAXBST"
                                    Binding="{Binding Path=MGMAXBST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGMAXBST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGFERTKZ"
                                    Binding="{Binding Path=MGFERTKZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGFERTKZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGUEBER"
                                    Binding="{Binding Path=MGUEBER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGUEBER}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGAENDZL"
                                    Binding="{Binding Path=MGAENDZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGAENDZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGAENDBEN"
                                    Binding="{Binding Path=MGAENDBEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGAENDBEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGAENDDAT"
                                    Binding="{Binding Path=MGAENDDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGAENDDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="MGFILLER"
                                    Binding="{Binding Path=MGFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=MGFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
